package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.util.List;

/**
 * Created by marco on 2017/5/25.
 */
public class MessageReplyRuleDto extends DtoEntity {

    //规则名称
    private String name;
    //平台ID
    private Long mallId;
    //是否全部回复
    private String allReply;
    //关键词列表
    private List<MessageReplyRuleKeywordDto> keywords;
    //内容列表
    private List<MessageReplyRuleContentDto> contents;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getAllReply() {
        return allReply;
    }

    public void setAllReply(String allReply) {
        this.allReply = allReply;
    }

    public List<MessageReplyRuleKeywordDto> getKeywords() {
        return keywords;
    }

    public void setKeywords(List<MessageReplyRuleKeywordDto> keywords) {
        this.keywords = keywords;
    }

    public List<MessageReplyRuleContentDto> getContents() {
        return contents;
    }

    public void setContents(List<MessageReplyRuleContentDto> contents) {
        this.contents = contents;
    }

    @Override
    public String toString() {
        return "MessageReplyRuleDto{" +
                "name='" + name + '\'' +
                ", mallId=" + mallId +
                ", allReply='" + allReply + '\'' +
                ", keywords=" + keywords +
                ", contents=" + contents +
                ", id=" + id +
                '}';
    }
}
